lib/repo: Improve docs for get_min_free_space_bytes()
authorMatthew Leeds <matthew.leeds@endlessm.com>
Tue, 25 Jun 2019 23:58:38 +0000 (16:58 -0700)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 26 Jun 2019 14:14:08 +0000 (14:14 +0000)
Closes: #1879
Approved by: jlebon

src/libostree/ostree-repo.c

index c6860408793f264e99954fb99ef897581e3e6ede..804ff6c6cac64f8bf7b897790a238751de80b447 100644 (file)
@@ -3496,7 +3496,10 @@ ostree_repo_get_mode (OstreeRepo  *self)
  * @out_reserved_bytes: (out): Location to store the result
  * @error: Return location for a #GError
  *
- * It can be used to query the value (in bytes) of min-free-space-* config option.
+ * Determine the number of bytes of free disk space that are reserved according
+ * to the repo config and return that number in @out_reserved_bytes. See the
+ * documentation for the core.min-free-space-size and
+ * core.min-free-space-percent repo config options.
  *
  * Returns: %TRUE on success, %FALSE otherwise.
  * Since: 2018.9